<?php
/* @var $this HzxxController */
/* @var $model Hzxx */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

<ul class="seachform">
          <li>
            <label><?php echo $form->label($model,'username'); ?></label>
            <?php echo $form->textField($model,'username',array('size'=>20,'maxlength'=>20,'class'=>'scinput03')); ?>
          </li>
          <li>
            <label><?php echo $form->label($model,'userID'); ?></label>
            <div class="vocation">
              	<?php echo $form->textField($model,'userID',array('size'=>20,'maxlength'=>20,'class'=>'scinput03')); ?>
            </div>
          </li>
		  <li>
            <label>所在地区：</label>
            <div class="vocation">
      <?php
	  $selectcss =array('class'=>"dfinput1",'style'=>"opacity:1; filter:alpha(opacity=100);");
        $this->Widget('ext.WDjQuerycity.WDjQuerycity', array(
        'model'  => $model,
        'province' =>'region3',  //数据库字段province
        'city' =>'region4',  //数据库字段city
        'area' =>'region5',  //数据库字段area 
        'provinceValue'=>$model->region3,  // province 默认值
        'cityValue' =>$model->region4,  // city默认值
        'areaValue'=>$model->region5,  // area默认值
        'provinceOptions' => $selectcss, // province Html Options
        'cityOptions' => $selectcss, // city Html Options
        'areaOptions' => $selectcss // area Html Options
));
?>
            </div>
          </li>
          <li>
            <label>&nbsp;</label>
            <?php echo CHtml::submitButton('查询',array('class'=>'scbtn')); ?>
          </li>
        </ul>

<?php $this->endWidget(); ?>

</div><!-- search-form -->